﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using System.Web.Routing;
using System.Web.Script.Serialization;
using System.Xml.Serialization;
using Vit.Web;
using Vit.Web.Mvc.DataAnnotations;
using Vit.Web.Models;

namespace Vit.Web.Models
{
    public class Log : Vit.Common.LogInfo
    {
        [Key]
        [StringLength(50)]
        [ShowFor(false, false, true, false)]
        [HiddenInput]
        public string ID { get; set; }

        [DataSource(typeof(Vit.Common.LogLevel))]
        [UIHint("DataSource")]
        public int Level { get; set; }
    }
}
